<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="cw" uri="/widget-tags"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <cw:base/>
  </head>
  <body>
  	<jsp:include page="abstract.jsp" />
  	<br/>
	<br/>
	<ul>
		<li>
			分页表格前台导出，设置exportable为true
				<cw:grid id="grid1" title="分页表格前台导出"
					url="../../../../sample/grid/gridpage.query.action"
					enablePage="true" exportable="true" selectMode="checkbox"
					urlParams="{id:0}"
					stripeRows="true" stripleColor="#c0c" autoLoad="true"
					showGlobalStat="true" summaryText="统计值">
					<cw:indexColumn />
					<cw:gridColumn property="id" width="60" title="编号" summaryType="count" />
					<cw:gridColumn property="name" width="120" title="姓名" />
					<cw:gridColumn property="email" width="30%" />
					<cw:gridColumn property="age" width="80" title="年龄" summaryType="average" summaryDecimalPrecision="0" />
					<cw:gridColumn property="birthday" width="120" dataType="date" format="Y-m-d" />
					<cw:gridColumn property="sex" width="80" rendererData="[[1,'男'],[2,'女']]" />
					<cw:gridColumn property="created" width="120" title="创建时间" dataType="date" format="Y-m-d" />
				</cw:grid>
				<br/>
		</li>
	</ul>
  </body>
  <cw:theme></cw:theme>
 </html>